package com.yykj.hospital.server.service;

import com.yykj.hospital.server.dto.DoctorPasswordDTO;
import com.yykj.hospital.server.dto.PayPasswordCodeForm;
import com.yykj.hospital.server.dto.PayPasswordSetForm;

public interface DoctorPasswordService {
    /**
     * 检查是否设置了支付密码
     * @param doctorId 医生ID
     * @return true 已经设置，false 没有设置
     */
    DoctorPasswordDTO checkPayPassword(String doctorId);

    boolean checkPayPasswordRight(String doctorId,String password);

    void sendPayCheckCode(PayPasswordCodeForm sendForm);

    void payPasswordSetting(PayPasswordSetForm form);

    boolean checkPayCheckCode(PayPasswordCodeForm sendForm);

    void payPasswordResetting(PayPasswordSetForm form);
}
